package com.fr.base.core.antlr;

public class CommonToken extends Token
{
  protected int line;
  protected String text = null;
  protected int col;

  public CommonToken()
  {
  }

  public CommonToken(int paramInt, String paramString)
  {
    this.type = paramInt;
    setText(paramString);
  }

  public CommonToken(String paramString)
  {
    this.text = paramString;
  }

  public int getLine()
  {
    return this.line;
  }

  public String getText()
  {
    return this.text;
  }

  public void setLine(int paramInt)
  {
    this.line = paramInt;
  }

  public void setText(String paramString)
  {
    this.text = paramString;
  }

  public String toString()
  {
    return "[\"" + getText() + "\",<" + this.type + ">,line=" + this.line + ",col=" + this.col + "]";
  }

  public int getColumn()
  {
    return this.col;
  }

  public void setColumn(int paramInt)
  {
    this.col = paramInt;
  }
}